package com.dao.secondary.system;
import com.model.domain.system.GetSystemTestDeviceInfoDO;
import com.model.pojo.system.SystemTestDeviceInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface SystemTestDeviceInfoMapper {
    int deleteByPrimaryKey(@Param("id") Long id);

    int insert(SystemTestDeviceInfo record);

    int insertSelective(SystemTestDeviceInfo record);

    SystemTestDeviceInfo selectByPrimaryKey(@Param("id") Long id);
    SystemTestDeviceInfo selectByDtu(@Param("dtu")String dtu,@Param("type")Integer type);

    int updateByPrimaryKeySelective(SystemTestDeviceInfo record);

    int updateByPrimaryKey(SystemTestDeviceInfo record);

    List<SystemTestDeviceInfo> selectList(GetSystemTestDeviceInfoDO getsystemTestDeviceInfoDO);

    void insertListSelective(List<SystemTestDeviceInfo> systemTestDeviceInfoList);

    void updateListSelective(List<SystemTestDeviceInfo> systemTestDeviceInfoList);

    int has(@Param("systemTestDeviceInfoId") Long systemTestDeviceInfoId, @Param("isDelete") Byte isDelete);
}